﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C71 RID: 3185
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class NMKOHGOCLGK : IMessage<NMKOHGOCLGK>, IMessage, IEquatable<NMKOHGOCLGK>, IDeepCloneable<NMKOHGOCLGK>, IBufferMessage
	{
		// Token: 0x17002818 RID: 10264
		// (get) Token: 0x06008E52 RID: 36434 RVA: 0x0017A19D File Offset: 0x0017839D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<NMKOHGOCLGK> Parser
		{
			get
			{
				return NMKOHGOCLGK._parser;
			}
		}

		// Token: 0x17002819 RID: 10265
		// (get) Token: 0x06008E53 RID: 36435 RVA: 0x0017A1A4 File Offset: 0x001783A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return NMKOHGOCLGKReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700281A RID: 10266
		// (get) Token: 0x06008E54 RID: 36436 RVA: 0x0017A1B6 File Offset: 0x001783B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return NMKOHGOCLGK.Descriptor;
			}
		}

		// Token: 0x06008E55 RID: 36437 RVA: 0x0017A1BD File Offset: 0x001783BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NMKOHGOCLGK()
		{
		}

		// Token: 0x06008E56 RID: 36438 RVA: 0x0017A1C8 File Offset: 0x001783C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NMKOHGOCLGK(NMKOHGOCLGK other) : this()
		{
			this.hHFKMCKJOPB_ = other.hHFKMCKJOPB_;
			this.jLNOBNDPODA_ = ((other.jLNOBNDPODA_ != null) ? other.jLNOBNDPODA_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008E57 RID: 36439 RVA: 0x0017A214 File Offset: 0x00178414
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NMKOHGOCLGK Clone()
		{
			return new NMKOHGOCLGK(this);
		}

		// Token: 0x1700281B RID: 10267
		// (get) Token: 0x06008E58 RID: 36440 RVA: 0x0017A21C File Offset: 0x0017841C
		// (set) Token: 0x06008E59 RID: 36441 RVA: 0x0017A224 File Offset: 0x00178424
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool HHFKMCKJOPB
		{
			get
			{
				return this.hHFKMCKJOPB_;
			}
			set
			{
				this.hHFKMCKJOPB_ = value;
			}
		}

		// Token: 0x1700281C RID: 10268
		// (get) Token: 0x06008E5A RID: 36442 RVA: 0x0017A22D File Offset: 0x0017842D
		// (set) Token: 0x06008E5B RID: 36443 RVA: 0x0017A235 File Offset: 0x00178435
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicScepter JLNOBNDPODA
		{
			get
			{
				return this.jLNOBNDPODA_;
			}
			set
			{
				this.jLNOBNDPODA_ = value;
			}
		}

		// Token: 0x06008E5C RID: 36444 RVA: 0x0017A23E File Offset: 0x0017843E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as NMKOHGOCLGK);
		}

		// Token: 0x06008E5D RID: 36445 RVA: 0x0017A24C File Offset: 0x0017844C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(NMKOHGOCLGK other)
		{
			return other != null && (other == this || (this.HHFKMCKJOPB == other.HHFKMCKJOPB && object.Equals(this.JLNOBNDPODA, other.JLNOBNDPODA) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008E5E RID: 36446 RVA: 0x0017A29C File Offset: 0x0017849C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.HHFKMCKJOPB)
			{
				num ^= this.HHFKMCKJOPB.GetHashCode();
			}
			if (this.jLNOBNDPODA_ != null)
			{
				num ^= this.JLNOBNDPODA.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008E5F RID: 36447 RVA: 0x0017A2F1 File Offset: 0x001784F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008E60 RID: 36448 RVA: 0x0017A2F9 File Offset: 0x001784F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008E61 RID: 36449 RVA: 0x0017A304 File Offset: 0x00178504
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.jLNOBNDPODA_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.JLNOBNDPODA);
			}
			if (this.HHFKMCKJOPB)
			{
				output.WriteRawTag(48);
				output.WriteBool(this.HHFKMCKJOPB);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008E62 RID: 36450 RVA: 0x0017A360 File Offset: 0x00178560
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.HHFKMCKJOPB)
			{
				num += 2;
			}
			if (this.jLNOBNDPODA_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.JLNOBNDPODA);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008E63 RID: 36451 RVA: 0x0017A3AC File Offset: 0x001785AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(NMKOHGOCLGK other)
		{
			if (other == null)
			{
				return;
			}
			if (other.HHFKMCKJOPB)
			{
				this.HHFKMCKJOPB = other.HHFKMCKJOPB;
			}
			if (other.jLNOBNDPODA_ != null)
			{
				if (this.jLNOBNDPODA_ == null)
				{
					this.JLNOBNDPODA = new RogueMagicScepter();
				}
				this.JLNOBNDPODA.MergeFrom(other.JLNOBNDPODA);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008E64 RID: 36452 RVA: 0x0017A414 File Offset: 0x00178614
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008E65 RID: 36453 RVA: 0x0017A420 File Offset: 0x00178620
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					if (num != 48U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.HHFKMCKJOPB = input.ReadBool();
					}
				}
				else
				{
					if (this.jLNOBNDPODA_ == null)
					{
						this.JLNOBNDPODA = new RogueMagicScepter();
					}
					input.ReadMessage(this.JLNOBNDPODA);
				}
			}
		}

		// Token: 0x0400364E RID: 13902
		private static readonly MessageParser<NMKOHGOCLGK> _parser = new MessageParser<NMKOHGOCLGK>(() => new NMKOHGOCLGK());

		// Token: 0x0400364F RID: 13903
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003650 RID: 13904
		public const int HHFKMCKJOPBFieldNumber = 6;

		// Token: 0x04003651 RID: 13905
		private bool hHFKMCKJOPB_;

		// Token: 0x04003652 RID: 13906
		public const int JLNOBNDPODAFieldNumber = 3;

		// Token: 0x04003653 RID: 13907
		private RogueMagicScepter jLNOBNDPODA_;
	}
}
